package com.rainbow.session

import org.springframework.security.web.session.InvalidSessionStrategy
import javax.servlet.http.HttpServletRequest
import javax.servlet.http.HttpServletResponse

/**
 *rainbow
 */
class MerryyouInvalidSessionStrategy(invalidSessionUrl: String) : AbstractSessionStrategy(invalidSessionUrl), InvalidSessionStrategy {

    override fun onInvalidSessionDetected(request: HttpServletRequest, response: HttpServletResponse) {
        onSessionInvalid(request, response)
    }


    override fun isConcurrency(): Boolean {
        return true
    }

}